#include <stdio.h>
int main()
{
	long long x1 = 0, y1 = 0, x2 = 0, y2 = 0;
	scanf("%lld %lld %lld %lld", &x1, &y1, &x2, &y2);
	long long d = (long long)50000 * 50000;
	d -= (x2 - x1)*(x2 - x1);
	d -= (y2 - y1)*(y2 - y1);
	if ( d >= 0 ) {
		printf("Yes");
	}
	else {
		printf("No");
	}
	return 0;
} 
